package com.lyh.hkcloud.util.base;

import android.app.Application;
import com.facebook.common.logging.FLog;
import com.facebook.drawee.backends.pipeline.Fresco;
import com.facebook.imagepipeline.core.ImagePipelineConfig;
import com.facebook.imagepipeline.listener.RequestListener;
import com.facebook.imagepipeline.listener.RequestLoggingListener;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 *
 */
public class MainApplication extends Application {

    public String data;
    private List<String> imageUrls;
    private static MainApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        Fresco.initialize(this);
    }


    public static MainApplication getInstance() {
        return instance;
    }


    public List<String> getImageUrls() {
        return imageUrls;
    }

    public void setImageUrl(List<String> imageUrls) {
        this.imageUrls = imageUrls;
    }


}
